package com.hyou.sc.eureka.client.auth.dto.form;

import javax.validation.constraints.NotBlank;

import com.hyou.springboot.base.BaseForm;

/**
 * 登录表单
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-04-18 14:46:17 初始创建
 */
public class LoginForm extends BaseForm {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 8822504482089714381L;
    
    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String account;
    
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String passwd;
    
    /**
     * @return 账号
     */
    public String getAccount() {
        return this.account;
    }
    
    /**
     * @param account 账号
     */
    public void setAccount(String account) {
        this.account = account;
    }
    
    /**
     * @return 密码
     */
    public String getPasswd() {
        return this.passwd;
    }
    
    /**
     * @param passwd 密码
     */
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
    
}
